from django.urls import path
from . import client, contract, equipment, contractOperation, Upload

urlpatterns = [
    path('client', client.ClientView.as_view()),
    path('contract', contract.ContractView.as_view()),
    path('equipment', equipment.EquipmentView.as_view()),
    path('equipment/select', equipment.SelectEqType),
    path('download/example', equipment.downloadExample),
    path('equipment/code', equipment.getCodeByEqType),
    path('contract/detail', contractOperation.getContractDetail),
    path('contract/modifyPassword', contractOperation.ModifyPassword),
    path('contract/accountEffective', contractOperation.AccountEffective),
    path('contract/accountKick', contractOperation.AccountKick),
    path('contract/transfer', contractOperation.Transfer),
    path('contract/income', contractOperation.getIncomeDetailByContractId),
    path('contract/giftDuration', contractOperation.GiftDuration),
    path('contract/renew', contractOperation.renewContract),
    path('equipment/modifyCode', equipment.modifyCode),
    path('contract/refund', contractOperation.refundContract),
    path('client/example', client.downloadClientExample),
    path('client/upload', Upload.importClientAndContract),
    path('equipment/check', equipment.Check),
]
